﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using log4net;

namespace FSViet.Survey
{
	public partial class WebForm1 : System.Web.UI.Page
	{
		ILog _logger = LogManager.GetLogger("RollingLogFileAppender");
		protected void Page_Load(object sender, EventArgs e)
		{

		}

		protected void WriteErrorButton_Click(object sender, EventArgs e)
		{
			_logger.Error("Error message");
		}

		protected void WriteDebugButton_Click(object sender, EventArgs e)
		{
			_logger.Debug("Debug message");
		}

		protected void WriteInfoButton_Click(object sender, EventArgs e)
		{
			_logger.Info("Info message");
		}

		protected void WriteWarnButton_Click(object sender, EventArgs e)
		{
			_logger.Warn("Warn message");
		}
	}
}